package com.seanchenxi.gwt.wordpress.json.service.model.impl;

import java.util.Date;

import com.google.gwt.core.client.JavaScriptObject;
import com.seanchenxi.gwt.wordpress.json.service.model.Author;
import com.seanchenxi.gwt.wordpress.json.service.model.Comment;

public class CommentImpl extends JavaScriptObject implements Comment {

	protected CommentImpl() {
	}

	@Override
	public final native int getId() /*-{
		return this.id;
	}-*/;

	@Override
	public final native void setId(int id) /*-{
		this.id = id;
	}-*/;

	@Override
	public final native String getName() /*-{
		return this.name;
	}-*/;

	@Override
	public final native void setName(String name)/*-{
		this.name = name;
	}-*/;

	@Override
	public final native String getURL() /*-{
		return this.url;
	}-*/;

	@Override
	public final native void setURL(String url)/*-{
		this.url = url;
	}-*/;

	@Override
	public final native String getContent()/*-{
		return this.content;
	}-*/;

	@Override
	public final native void setContent(String content)/*-{
		this.content = content;
	}-*/;

	@Override
	public final native Date getDate()/*-{
		return this.date;
	}-*/;

	@Override
	public final native void setDate(Date date)/*-{
		this.date = date;
	}-*/;

	@Override
	public final native int getParentId() /*-{
		return this.parent;
	}-*/;

	@Override
	public final native void setParentId(int parentId) /*-{
		this.parent = parentId;
	}-*/;

	@Override
	public final native Author getAuthor()/*-{
		return this.author;
	}-*/;

	@Override
	public final native void setAuthor(Author author)/*-{
		this.author = author;
	}-*/;

}
